<template>
	<view class="content">
	</view>
</template>

<script>
	import Vue from 'vue'
	import webSocket from '../../common/util/webSocket.js'
	export default {
		created() {
			//#ifdef H5
			window.loading = this
			//#endif
			var wss = new webSocket(function (type) {
				Vue.prototype.$ws = this
				if (type) {
					return
				}
				setTimeout(() => {
					uni.redirectTo({url: '/pages/index/index'})
				}, 1200)
			})
		}
	}
</script>

<style>
	.content{
		justify-content: center;
		align-items: center;
		background-size: auto 100%;
		background-position: center;
		background-repeat: no-repeat;
	}
</style>
